package com.woniuxy.exception.storeRegister;

import com.woniuxy.exception.WoniuxyException;
import com.woniuxy.exception.account.AccountExceptionCode;

public class StoreRegisterException extends WoniuxyException{


        public StoreRegisterException(Integer code, String message) {
            super(code, message);
        }

        public StoreRegisterException(StoreRegisterExceptionCode registerExceptionCode){
            super(registerExceptionCode.getCode(),registerExceptionCode.getMessage());
        }

}
